Important: The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
[no] area { decimal_value | ip_address } {authentication [ message-digest ] | default-cost cost_value | nssa [default-information-originate] [no-redistribution] [no-summary] [translate-always] [translate-candidate] [translate-never] | stub [no-summary] | virtual-link router_ip_address [authentication {message-digest | null | text}| authentication-key {encrypted password encrypted_string | password password_string}| message-digest-key key_id md5 [encrypted password encrypted_string | password password_string]} [dead-interval] [hello-interval] [retransmit-interval] [transmit-delay]default-cost cost_valuecost_value is the default cost to be configured for the specified area and must be an integer from 0 through 16777215.default-information-originate: This optional keyword configures the OSPF VRF instances to originate default information to the NSSA area.no-redistribution: This optional keyword configures the OSPF VRF instance to not to redistribute external routes to the NSSA area.no-summary: This optional keyword configures the OSPF VRF instance to not to inject the inter-area routes into NSSA.translate-always: This optional keyword configures the NSSA-ABR always to translate. By default this is disabled.translate-candidate: This optional keyword configures the NSSA-ABR always to translate election. By default this is enabled.translate-never: This optional keyword configures the NSSA-ABR never to translate. By default this is disabled.virtual-link router_idrouter_id must be an IP address in IPv4 dotted-decimal notation of the ABR to be linked to.message-digest-key key_idkey_id must be an integer from 1 through 255.[encrypted] password passwd_stringSpecifies the password required for virtual link connection authentications. The keyword password is optional and if specified passwd_string must be from 1 to 63 alpha and/or numeric characters. The password specified must be in an encrypted format if the optional keyword encrypted was specified.The encrypted keyword is intended only for use by the system while saving configuration scripts. The system displays the encrypted keyword in the configuration file as a flag that the variable following the password keyword is the encrypted version of the plain text password. Only the encrypted password is saved as part of the configuration file. encrypted_string is a string of size 1 to 523.dead-interval valueSpecifies the dead interval, in seconds, that the router should wait, during which time no packets are received and after the router considers a neighboring router to be off-line. value must be an integer from 1 through 65535.hello-interval valueSpecifies the hello interval, in seconds before sending a hello packet. value must be an integer from 1 through 65535.retransmit-interval valueSpecifies the delay between retransmission, in seconds, that router should wait before retransmitting a packet. value must be an integer from 1 through 3600.transmit-delay valueSpecifies the interval, in seconds, that the router should wait before transmitting a packet. value must be an integer from 1 through 3600.The following command enables authentication for an OSPF area defined by the IP address 192.168.100.10 and the OSPF authentication type to MD5:The following command sets the default cost for an OSPF area defined by the IP address 192.168.100.10 to 300:The following command defines the area designated by the IP address 192.168.100.10 as an NSSA area where translation of NSSA candidate is enabled by default:The following command defines the OSPF area defined by the IP address 192.168.100.10 as a stub area:The following command creates a virtual link between the OSPF areas defined by the IP address 192.168.100.10 and the IP address 192.168.200.20:The following command sets the authentication method for a virtual link between the OSPF areas defined by the IP address 192.168.100.10 and the IP address 192.168.200.20 to use no authentication:The following command creates an authentication password of 123456 for a virtual link between the OSPF areas defined by the IP address 192.168.100.10 and the IP address 192.168.200.20:The following command enables the use of MD5-based OSPF authentication for a virtual link between the OSPF areas defined by the IP address 192.168.100.10 and the IP address 192.168.200.20, sets the MD5 Key ID to 25, and the password to 123456:default-information originate [always] [ metric metric_value ] [ metric-type { 1 | 2 }] [ route-map route_map_name]nodefault-information originate [always] [ metric metric_value ] [ metric-type { 1 | 2 }] [ route-map route_map_name]Disables default-information.metric metric_value1: Sets the OSPF external link type for default routes to Type 1.2: Sets the OSPF external link type for default routes to Type 2.route-map route_map_namedefault-metric metric_valueDisables defaut-metric.default-metric 235Disables neighbor IP address.poll-interval poll_inter_valuepriority priority_valueneighbor 192.168.100.10The following command specified that the OSPF router will use the interface at IP address 192.168.1.0 with a netmask of 24:network 192.168.1.0/24ospf router-id ip_addressDisables ospf router-id.The following command sets the router ID to 192.168.200.1:ospf router-id 192.168.200.1passive-interface interface_nameDisables passive-interface.passive-interface Intfc1redistribute {connected | rip | static} [metric value] [metric-type {1 | 2} ] [ route-map route_map_name ]no redistribute {connected | rip | static} [metric value ] [metric-type {1 | 2} ] [ route-map route_map_name ]Disables redistribute.metric valuevalue must be an integer from 1 through 16777214.1: Sets the OSPF external link type for routes to Type 1.2: Sets the OSPF external link type for routes to Type 2.route-map route_map_nameFilter routes through the specified route map before redistribution. route_map_name specifies the name of the route-map to use and must be specified as a string of 1 through 79 alphanumeric characters.refresh timer valueDisables refresh timer.The following command sets the refresh timer to 90 seconds:router-id ip_addressThe following command sets the router ID to 192.168.200.1:router-id 192.168.200.1Disables timers spf.
|
| Cisco Systems Inc. |
| Tel: 408-526-4000 |
| Fax: 408-527-0883 |